export interface Student {
  id: number
  user_id: number
  student_no: string
  student_name: string
  gender: number
  birth_date?: string | null
  id_card?: string | null
  phone?: string | null
  address?: string | null
  parent_name?: string | null
  parent_phone?: string | null
  status: number
}

export interface StudentCreatePayload {
  user_id: number
  student_no: string
  student_name: string
  gender: number
  birth_date?: string
  id_card?: string
  phone?: string
  address?: string
  parent_name?: string
  parent_phone?: string
  status?: number
}

export interface StudentUpdatePayload extends Partial<StudentCreatePayload> {}

export interface Teacher {
  id: number
  user_id: number
  teacher_no: string
  teacher_name: string
  gender: number
  birth_date?: string | null
  id_card?: string | null
  phone?: string | null
  email?: string | null
  subject_code?: string | null
  job_title?: string | null
  status: number
}

export interface TeacherCreatePayload {
  user_id: number
  teacher_no: string
  teacher_name: string
  gender: number
  birth_date?: string
  id_card?: string
  phone?: string
  email?: string
  subject_code?: string
  job_title?: string
  status?: number
}

export interface TeacherUpdatePayload extends Partial<TeacherCreatePayload> {}
